package com.chentongwei.common.constant;

/**
 * 状态常量
 * 
 * @author TongWei.Chen 2017年5月30日00:27:47
 */
public enum StatusEnum implements IBaseEnum {
    /*用户*/
    USER_IS_NOT_ACTIVE(0, "未激活"),
    USER_IS_ACTIVE(1, "已激活"),
    USER_IS_DISABLED(0, "用户被禁用")
	;
	
	//状态码
    private int code;
    //消息
    private String msg;
	
	private StatusEnum(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	@Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
	
	
}
